home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / sample code / overview / dave falkenburg's sprocket / preferencesdialogwindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-28  |  1.2 KB  |  46 lines

  1. /*
  2.     File:        PreferencesDialogWindow.h
  3.  
  4.     Contains:    A dialog window for App preferences
  5.  
  6.     Written by: Dave Falkenburg    
  7.  
  8.     Copyright:    Copyright © 1993-1999 by Apple Computer, Inc., All Rights Reserved.
  9.  
  10.                 You may incorporate this Apple sample source code into your program(s) without
  11.                 restriction. This Apple sample source code has been provided "AS IS" and the
  12.                 responsibility for its operation is yours. You are not permitted to redistribute
  13.                 this Apple sample source code as "Apple sample source code" after having made
  14.                 changes. If you're going to re-distribute the source, we require that you make
  15.                 it clear in the source that the code was descended from Apple sample source
  16.                 code, but that you've made changes.
  17.  
  18.     Change History (most recent first):
  19.                 8/19/1999    Karl Groethe    Updated for Metrowerks Codewarror Pro 2.1
  20.                 
  21.  
  22. */
  23.  
  24. #ifndef        _PREFERENCESDIALOGWINDOW_
  25. #define        _PREFERENCESDIALOGWINDOW_
  26.  
  27. #ifndef        _DIALOGWINDOW_
  28. #include    "DialogWindow.h"
  29. #endif
  30.  
  31.  
  32. //    Information about the dialog ID we are using.
  33.  
  34. const DialogTemplateID    kPreferencesDialogTemplateID = 1024;
  35.  
  36.  
  37. class    TPreferencesDialogWindow    :    public TDialogWindow
  38.     {
  39. public:
  40.                         TPreferencesDialogWindow();
  41.  
  42.     virtual    void        ItemHit(short theItem);
  43.     };
  44.  
  45. #endif
  46.